package com.shangguan.spring.service;

import com.shangguan.spring.beans.User;

import java.util.List;

public interface UserService{


    int deleteByPrimaryKey(Integer userid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    User  selectByUserName(String username);
    List<User> selectUsers();
}
